package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfActivityDao;
import com.wfcm.entity.WfActivityEntity;
import com.wfcm.service.WfActivityService;



@Service("wfActivityService")
public class WfActivityServiceImpl implements WfActivityService {
	@Autowired
	private WfActivityDao wfActivityDao;
	
	@Override
	public WfActivityEntity queryObject(Integer id){
		return wfActivityDao.queryObject(id);
	}
	
	@Override
	public List<WfActivityEntity> queryList(Map<String, Object> map){
		return wfActivityDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfActivityDao.queryTotal(map);
	}
	
	@Override
	public void save(WfActivityEntity wfActivity){
		wfActivityDao.save(wfActivity);
	}
	
	@Override
	public void update(WfActivityEntity wfActivity){
		wfActivityDao.update(wfActivity);
	}
	
	@Override
	public void delete(Integer id){
		wfActivityDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfActivityDao.deleteBatch(ids);
	}
	
}
